<tr>
<td>
[<tag id="cmdEdit" type="linkbutton" tooltip="Edit" src="/images/edit.gif" commandname="Edit" commandargument="ItemID" />]
[<tag id="ItemID" type="hidden" value="databind:ItemID" />]
</td>
<td>
[<tag type="valueof" xpath="genxml/hidden/paymentref" />]
</td>
<td>
[<tag type="valueof" datatype="date" xpath="genxml/textbox/datepay" format="d" />]
</td>
<td>
[<tag type="valueof" xpath="genxml/textbox/txtchequeref" />]
</td>
<td >
[<tag type="valueof" xpath="genxml/textbox/txtclientref" />]
</td>
<td>
[<tag type="testof" xpath="genxml/textbox/txtclientname" testvalue="" display="{OFF}" displayelse="{ON}" />]
[<tag type="label" xpath="genxml/textbox/txtclientname" length="20" />]
[<tag type="endtestof" />]
[<tag type="testof" xpath="genxml/hidden/clientname" testvalue="" display="{OFF}" displayelse="{ON}" />]
[<tag type="label" xpath="genxml/hidden/clientname" length="20" />]
[<tag type="endtestof" />]
,&nbsp;
[<tag type="testof" xpath="genxml/textbox/txtcompanyname" testvalue="" display="{OFF}" displayelse="{ON}" />]
[<tag type="label" xpath="genxml/textbox/txtcompanyname" length="20" />]
[<tag type="endtestof" />]
[<tag type="testof" xpath="genxml/hidden/companyname" testvalue="" display="{OFF}" displayelse="{ON}" />]
[<tag type="label" xpath="genxml/hidden/companyname" length="20" />]
[<tag type="endtestof" />]
</td>
<td >
[<tag type="valueof" xpath="genxml/dropdownlist/ddltype" />]
</td>
<td align="right">
[<tag type="valueof" xpath="genxml/textbox/txtamtpay" />]
</td>
<td align="right">
[<tag type="valueof" xpath="genxml/hidden/dblallocatedamt" />]
</td>
</tr>